package com.tsk.example.condition;

import org.springframework.context.annotation.Conditional;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author: huangjiazhen
 * @create: 2023/1/11 18:08
 * @description:
 **/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Conditional(TestOnClassCondition.class)
public @interface TestConditionOnClass {
    String value() default "";
}
